Skip to content

Add hash to css file #34

Add hash to css file

Add hash to css file #34

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl registry login --expiry-seconds 600
- shell: bash
run: |
docker build . -t registry.digitalocean.com/jketcham/website:$GITHUB_SHA
docker push registry.digitalocean.com/jketcham/website:$GITHUB_SHA
- name: DigitalOcean App Platform deployment
uses: digitalocean/[email protected]
with:
app_name: website
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
images: '[
{
"name": "website",
"image":{
"registry_type": "DOCR",
"repository": "website",
"tag": "${{ github.sha }}"
}
}
]'