Skip to content

Update build.yml

Update build.yml #6

Workflow file for this run

name: "Deployment"
# the event that will trigger the action
on: push
# what the action will do
jobs:
test:
# the operating system it will run on
runs-on: ubuntu-latest
# the list of steps that the action will go through
steps:
- name: Publish github pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/USER_OR_ORG/REPO.git
npx gh-pages -d dist -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_CLIENT_ID: ${{ secrets.VITE_CLIENT_ID }}
VITE_CLIENT_SECRET: ${{ secrets.VITE_CLIENT_SECRET }}