Skip to content

Please go away Cloudflare email obfuscation script #37

Please go away Cloudflare email obfuscation script

Please go away Cloudflare email obfuscation script #37

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/app_action@v1.1.2
with:
app_name: website
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
images: '[
{
"name": "website",
"image":{
"registry_type": "DOCR",
"repository": "website",
"tag": "${{ github.sha }}"
}
}
]'