Updated deploy-theme.yaml to use ubuntu-latest #2
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 Theme | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Borales/actions-yarn@v3 | |
with: | |
cmd: install | |
- run: yarn install | |
- run: yarn test:ci | |
- run: yarn ship | |
- name: Deploy Ghost Theme | |
uses: TryGhost/action-deploy-theme@v1.5.0 | |
with: | |
api-url: ${{ secrets.GHOST_ADMIN_API_URL }} | |
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }} |