Skip to content

Merge pull request #6 from yagarea/amogus #127

Merge pull request #6 from yagarea/amogus

Merge pull request #6 from yagarea/amogus #127

Workflow file for this run

name: Build
on:
push:
branches:
- "amogus"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to ghcr.io
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/0d9e-tech/web:latest
- name: Deploy
run: |
curl --fail-with-body --no-progress-meter -i https://0d9e.tech/deploy -X POST -H "x-token: ${{ secrets.DEPLOY_TOKEN }}"