Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions .github/workflows/docker.yml → .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: generate

on:
push:
branches: [ main, master ]
branches: [ main ]
pull_request:
workflow_dispatch:

Expand All @@ -22,24 +22,25 @@ jobs:
image: metanorma/metanorma:latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache Metanorma assets
uses: actions-mn/cache@v1

- name: Metanorma generate site
uses: actions-mn/build-and-publish@v1
uses: actions-mn/build-and-publish@v2
with:
agree-to-terms: true
token: ${{ secrets.GITHUB_TOKEN }}
deploy:
if: github.ref == github.event.repository.default_branch
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
# destination: gh-pages

# deploy:
# if: ${{ github.ref == 'refs/heads/main' }}
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4
57 changes: 0 additions & 57 deletions 23-049/23-049.err.html

This file was deleted.

Loading