Skip to content

Update 05-bootstrap-and-test-phases.md #65

Update 05-bootstrap-and-test-phases.md

Update 05-bootstrap-and-test-phases.md #65

Workflow file for this run

name: Deploy QIT Docs
on:
workflow_dispatch: # Allows manual triggering of the workflow.
push:
branches:
- trunk
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
tools: none
php-version: '8.2'
- name: Npm Install
run: npm install
- name: Build
run: npm run build
- name: Zip Build Contents
working-directory: ./build
run: |
zip -r ${{ github.workspace }}/docs.zip .
- name: List files in the workspace.
run: ls -l ${{ github.workspace }}
- name: Deploy QIT Docs
run: |
php .github/workflows/scripts/deploy.php
env:
DOCS_SECRET: ${{ secrets.DOCS_SECRET }}
FILE: ${{ github.workspace }}/docs.zip