use REST API for repository related content (#438) #255
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 Staging | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
test: | |
uses: ./.github/workflows/cypress_tests.yml | |
secrets: inherit | |
deploy: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Vercel deploy | |
uses: amondnet/[email protected] | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
vercel-org-id: ${{ secrets.ORG_ID}} | |
vercel-project-id: ${{ secrets.PROJECT_ID}} | |
scope: ${{ secrets.TEAM_ID}} | |
vercel-project-name: 'akita' | |
alias-domains: | | |
commons.datacite.vercel.app | |
commons.stage.datacite.org |