WIP: kassabuch #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: Copyright © 2021 snek.at | |
# SPDX-License-Identifier: EUPL-1.2 | |
# | |
# Use of this source code is governed by an EUPL-1.2 license that can be found | |
# in the LICENSE file at https://snek.at/license | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#name | |
name: Deploy | |
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#on | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["main", "dev"] | |
# Allows you to run this workflow from another workflow | |
workflow_call: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobs | |
jobs: | |
deploy: | |
uses: atsnek/jaen/.github/workflows/jaen-deploy.yaml@main | |
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow | |
with: | |
CLOUDFLARE_PROJECT_NAME: "cronit" | |
secrets: | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |