Skip to content

Commit

Permalink
cimas: update workflows
Browse files Browse the repository at this point in the history
request-checks: true
  • Loading branch information
CAMOBAP committed Feb 11, 2024
1 parent 8b6f4f6 commit d270be2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ jobs:
image: metanorma/metanorma:latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

- name: Metanorma generate site
id: build-and-publish
uses: actions-mn/build-and-publish@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
agree-to-terms: true


deploy:
if: ${{ github.ref_name == 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
uses: actions-mn/deploy-pages@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
5 changes: 1 addition & 4 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@ jobs:
os: [ ubuntu-latest, windows-latest, macos-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

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

- name: Setup Metanorma toolchain
uses: actions-mn/setup@main

Expand Down

0 comments on commit d270be2

Please sign in to comment.