diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index d7befe1489..55c4602ab4 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -1,5 +1,8 @@ on: - push + push: + pull_request: + branches: + - master permissions: contents: read pages: write @@ -24,7 +27,7 @@ jobs: - name: use yarn to install dependencies and deploy shell: bash -l {0} - run: git config --global user.email "justinvforvendetta@gmail.com" && git config --global user.name "justinvforvendetta" && git remote set-url origin https://justinvforvendetta:${{ secrets.JUSTINVFORVENDETTA }}@github.com/vergecurrency/vergecurrency.com.git && yarn install && yarn run deploy + run: git config --global user.email "justinvforvendetta@gmail.com" && git config --global user.name $GITHUB_USER && git remote set-url origin https://$GITHUB_USER:${{ secrets.JUSTINVFORVENDETTA }}@github.com/vergecurrency/vergecurrency.com.git && yarn install && yarn run deploy - name: Upload site uses: actions/upload-artifact@v3 diff --git a/deploy_website.enc b/deploy_website.enc deleted file mode 100644 index 2bc8d6b39b..0000000000 Binary files a/deploy_website.enc and /dev/null differ