We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f9789 commit 1e88ffdCopy full SHA for 1e88ffd
.github/workflows/code-embedder.yml
@@ -0,0 +1,28 @@
1
+# .github/workflows/embed.yml
2
+
3
+name: Embed docker-compose.yml in README
4
5
+on:
6
+ push:
7
+ paths:
8
+ - '**/README.md'
9
+ - '**/*.yml'
10
+ workflow_dispatch:
11
12
+jobs:
13
+ embed:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v3
18
19
+ - name: Code Embedder
20
+ uses: kvankova/code-embedder@v1.1.2
21
22
+ - name: Commit changes
23
+ run: |
24
+ git config user.name "github-actions"
25
+ git config user.email "github-actions@users.noreply.github.com"
26
+ git add .
27
+ git commit -m "Update embedded code"
28
+ git push || echo "No changes to commit"fi
0 commit comments