Merge pull request #1527 from input-output-hk/move_staging_mainnet #1159
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: Post-integration | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy-docs: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/[email protected] | |
- name: 🧰 Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.12.0 | |
- name: 🔨 Build Docs | |
env: | |
NODE_OPTIONS: "--max-old-space-size=10240" | |
run: | | |
yarn install --immutable --inline-builds | |
yarn build | |
yarn docs | |
- name: Docker Build | |
run: | | |
docker build --target provider-server -t cardano-services-provider-server:${{ github.sha }} . | |
docker build --target worker -t cardano-services-worker:${{ github.sha }} . | |
- name: 📘 Publish | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs |