website-deployment: Change to bun to pin primate to version specified… #852
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" |