Skip to content

Commit

Permalink
Merge pull request #32 from rndquu/ci/add-init-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 authored Mar 10, 2024
2 parents f680079 + 252fbb8 commit 52b0b50
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 52b0b50

Please sign in to comment.