start without config file, improve error messaging on faulty config #848
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: render.com deployment | |
on: | |
push: | |
branches: ["master"] | |
jobs: | |
deploy-website: | |
if: github.repository_owner == 'primatejs' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy Website | |
uses: sws2apps/[email protected] | |
with: | |
serviceId: ${{ secrets.RENDER_SERVICE_ID }} | |
apiKey: ${{ secrets.RENDER_API_KEY }} | |
multipleDeployment: false | |
- name: "Purge Fastly cache" | |
run: | | |
curl -X POST -H "Fastly-Key: ${{ secrets.FASTLY_API_KEY }}" \ | |
"https://api.fastly.com/service/${{ secrets.FASTLY_SERVICE_ID }}/purge_all" |