Skip to content

add onesignal

add onesignal #20

Workflow file for this run

name: Deployment
on:
push:
branches: [main]
workflow_dispatch:
permissions:
id-token: write
contents: read
packages: write
concurrency:
group: deploy
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: buildx
uses: docker/setup-buildx-action@v2
- name: login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: build
id: build-and-push
uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/webmastercamp/${{ github.event.repository.name }}:latest
cache-from: type=gha
cache-to: type=gha,mode=max
- name: deploy
uses: WebmasterCamp/deploy-action@main
with:
image: ghcr.io/webmastercamp/${{ github.event.repository.name }}@${{ steps.build-and-push.outputs.digest }}
port: 3000