Skip to content

Commit

Permalink
ci: add init workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rndquu committed Mar 10, 2024
1 parent f680079 commit 252fbb8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Build & Deploy

on:
push:
pull_request:
workflow_dispatch:
workflow_run:
workflows: ["Init"]
types:
- completed

permissions:
contents: read
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/init.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Initializes the "build and deploy" workflow to have access to github secrets in that workflow
name: Init

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Init
run: |
echo "Initialized"

0 comments on commit 252fbb8

Please sign in to comment.