chore: test permaweb deploy #15
Workflow file for this run
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: Arweave Deploy | |
on: | |
push: | |
branches: | |
- permaweb | |
jobs: | |
Arweave-build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js environment for docs build | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "20" | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install dependencies | |
run: | | |
cd docs | |
yarn install --frozen-lockfile | |
cd .. | |
- name: Install dependencies for deployment script | |
run: | | |
cd docs | |
npm install permaweb-deploy --include=dev --force | |
cd .. | |
- name: Run deployment script | |
env: | |
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }} | |
DEPLOY_ANT_PROCESS_ID: ${{ secrets.DEPLOY_ANT_PROCESS_ID}} | |
run: | | |
cd docs | |
yarn deploy | |