Skip to content

Merge pull request #12 from EntEthAlliance/feat/google-analytics #29

Merge pull request #12 from EntEthAlliance/feat/google-analytics

Merge pull request #12 from EntEthAlliance/feat/google-analytics #29

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