-
-
Notifications
You must be signed in to change notification settings - Fork 5
36 lines (29 loc) · 1.08 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release 🚀
on:
push:
tags:
- '*'
jobs:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/checkout@v3
- name: Changelog
id: changelog
uses: 3liz/[email protected]
- name: Create release on GitHub
uses: ncipollo/[email protected]
with:
body: ${{ steps.changelog.outputs.markdown }}
token: ${{ secrets.BOT_HUB_TOKEN }}
- name: Tweet
uses: mugi111/[email protected]
with:
consumer_key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer_secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access_token_key: ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }}
access_token_secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
tweet_body: "Nouvelle version du module de consultation des données #Cadastre ${{ env.RELEASE_VERSION }} pour @LizmapForQgis https://github.com/3liz/lizmap-cadastre-module/releases"