Merge pull request #715 from Qovery/feat/add_stage_infos_on_deploymen… #979
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Github Pages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
gh-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "16.x" | |
- name: Build | |
run: | | |
npm ci | |
npm run html | |
rm -rf .git .github | |
- name: Deploy to GitHub Pages | |
run: npm run deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |