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 3fa633a commit 6dca493Copy full SHA for 6dca493
.github/workflows/prepare_newsletter.yml
@@ -0,0 +1,22 @@
1
+name: Prepare a new newsletter
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ prepare_new_newsletter:
8
+ runs-on: ubuntu-latest
9
+ env:
10
+ # https://github.com/crazy-max/ghaction-github-pages/issues/1#issuecomment-623202206
11
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - run: ./zola --version
15
+ - name: copy template and adapt dates and ids.
16
+ run: echo y | ./scripts/prepare_newsletter.sh
17
18
19
+ - name: create pull request
20
+ run: gh pr create -B source -H new_newsletter --title 'Prepare new newsletter' --body 'Created by Github action'
21
22
0 commit comments