Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 52b0b50

Browse files
authored
Merge pull request #32 from rndquu/ci/add-init-workflow
2 parents f680079 + 252fbb8 commit 52b0b50

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Build & Deploy
22

33
on:
4-
push:
5-
pull_request:
6-
workflow_dispatch:
4+
workflow_run:
5+
workflows: ["Init"]
6+
types:
7+
- completed
78

89
permissions:
910
contents: read

.github/workflows/init.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Initializes the "build and deploy" workflow to have access to github secrets in that workflow
2+
name: Init
3+
4+
on:
5+
push:
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-22.04
12+
steps:
13+
- name: Init
14+
run: |
15+
echo "Initialized"

0 commit comments

Comments
 (0)