Skip to content

feat: pre-publication changes — rubric, disclosure columns, ERC links… #14

feat: pre-publication changes — rubric, disclosure columns, ERC links…

feat: pre-publication changes — rubric, disclosure columns, ERC links… #14

Workflow file for this run

name: Deploy
on:
push:
branches:
- '**'
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to production
if: github.ref_name == 'main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
keep_files: true
- name: Deploy to staging
if: github.ref_name != 'main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
destination_dir: staging/${{ github.ref_name }}
keep_files: true