Skip to content

Adjust image width/height #30

Adjust image width/height

Adjust image width/height #30

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 }}"
}
}
]'