Add RailsConf template #54
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 | |
- run: npm install | |
- run: npm run check | |
- run: npm run zip | |
- name: Deploy Ghost Theme | |
uses: TryGhost/action-deploy-theme@v1 | |
with: | |
api-url: ${{ secrets.GHOST_ADMIN_API_URL }} | |
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }} | |
file: dist/theme.zip |