feat: Implement option removal #27
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: Deploy to Github Pages | |
on: | |
push: | |
branches: [master, main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "12" | |
- name: Build with npm | |
run: | | |
cd ./web | |
npm ci | |
npm run build --if-present | |
- name: Deploy using gh-pages | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/mickelsonmichael/JustPickSomething.git | |
cd ./web | |
npx gh-pages -d build -u "github-actions-bot <[email protected]>" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |