fix progress #348
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
# Learn more → https://github.com/TryGhost/action-deploy-theme#getting-started | |
name: Deploy Theme | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run build | |
- name: Deploy mc site | |
uses: TryGhost/action-deploy-theme@v1 | |
with: | |
api-url: ${{ secrets.GHOST_ADMIN_API_URL }} | |
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }} | |
- name: Deploy demo site | |
uses: TryGhost/action-deploy-theme@v1 | |
with: | |
api-url: ${{ secrets.GHOST_DEMO_URL }} | |
api-key: ${{ secrets.GHOST_DEMO_KEY }} | |
- name: Deploy my site | |
uses: TryGhost/action-deploy-theme@v1 | |
with: | |
api-url: ${{ secrets.GHOST_ME_URL }} | |
api-key: ${{ secrets.GHOST_ME_KEY }} |