Debian Codegraph @

.github/workflows/deploy-html-fast.yml

raw symbols SCIP
1 name: Deploy fiat-html (manual)
2
3 on:
4 workflow_dispatch:
5
6 jobs:
7 deploy-fiat-html:
8 runs-on: ubuntu-latest
9
10 steps:
11 - uses: actions/checkout@v4
12 - name: Copy files from gh-pages
13 run: |
14 git clone https://github.com/mit-plv/fiat-crypto.git --branch gh-pages --single-branch --depth 1 fiat-crypto-gh-pages
15 cp -r fiat-crypto-gh-pages/* fiat-html/
16 rm -rf fiat-crypto-gh-pages
17 git ls-files fiat-html/ | xargs git checkout HEAD --
18 - name: Make version.js
19 run: make -f Makefile.js-html EXTRA_HTML_VERSION_INFO="-manual" fiat-html/version.js
20 - run: find fiat-html
21 if: always()
22 - name: backup .gitignore
23 run: mv .gitignore{,.bak}
24 - name: Deploy js_of_ocaml 🚀 ${{ ( github.ref != 'refs/heads/master' && '(dry run)' ) || '' }}
25 uses: JamesIves/[email protected]
26 with:
27 branch: gh-pages # The branch the action should deploy to.
28 folder: fiat-html # The folder the action should deploy.
29 git-config-email: [email protected]
30 target-folder: .
31 single-commit: false # keep the history on manual deploy
32 dry-run: ${{ github.ref != 'refs/heads/master' }}
33 - name: restore .gitignore
34 run: mv .gitignore{.bak,}