Skip to content

Remove console-log-img #143

Remove console-log-img

Remove console-log-img #143

name: Deploy static files to GitHub Pages
on: [workflow_dispatch, push]
jobs:
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
# build dynamo
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Build Dynamo
run: |
cd analyses/dynamo
yarn install --frozen-lockfile
yarn build
rm -rf node_modules
cd ../..
# end build dynamo
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v2
with:
path: "analyses"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2