Skip to content
on:
push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update apt repos
run: sudo apt-get update
- name: Set the correct Node version using nvm
shell: bash -l {0}
run: nvm install
- name: Install yarn
shell: bash -l {0}
run: curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list && sudo apt-get update && sudo apt-get install yarn
- name: Install dependencies
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

Check failure on line 31 in .github/workflows/build-and-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-and-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
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