Skip to content

Commit

Permalink
use deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
justinvforvendetta committed Mar 2, 2024
1 parent a1e2a4c commit ee08d22
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ jobs:
shell: bash -l {0}
run: nvm use && yarn install

- name: Yarn deploy
env:
MY_EMAIL: [email protected]
MY_NAME: JustinVforVendetta
shell: bash -l {0}
run: git config --global user.email $MY_EMAIL && git config --global user.name $MY_NAME && git remote set-url origin https://$MY_NAME:${{ secrets.JUSTINVFORVENDETTA }}@github.com/vergecurrency/vergecurrency.com.git && nvm use && yarn run deploy
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3

0 comments on commit ee08d22

Please sign in to comment.