mirror of
https://github.com/EpicMorg/atlassian-json.git
synced 2024-12-27 23:25:33 +03:00
Update json-master.yml
This commit is contained in:
parent
98160526c1
commit
ca20e89c6b
34
.github/workflows/json-master.yml
vendored
34
.github/workflows/json-master.yml
vendored
@ -18,25 +18,39 @@ jobs:
|
|||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
cd json-backups
|
cd json-backups
|
||||||
ls -las
|
ls -las
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git config --global user.email "stamepicmorg@users.noreply.github.com"
|
git config --global user.email "stamepicmorg@users.noreply.github.com"
|
||||||
|
|
||||||
- name: Update files
|
- name: Update files
|
||||||
run: |
|
run: |
|
||||||
cd json-backups
|
cd json-backups
|
||||||
ls -las
|
ls -las
|
||||||
./update.sh
|
./update.sh
|
||||||
|
|
||||||
- name: Commit and push changes
|
- name: Commit and push changes
|
||||||
uses: devops-infra/action-commit-push@master
|
uses: devops-infra/action-commit-push@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GHT }}
|
github_token: ${{ secrets.GHT }} # This token is provided by Actions, you do not need to create your own token
|
||||||
commit_message: Atlassian JSON updated
|
commit_message: Atlassian JSON updated
|
||||||
commit_prefix: "[AUTO-COMMIT]"
|
commit_prefix: "[AUTO-COMMIT]"
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
|
id: create_release
|
||||||
|
uses: actions/create-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GHT }} # This token is provided by Actions, you do not need to create your own token
|
||||||
|
with:
|
||||||
|
tag_name: ${{ github.ref }}
|
||||||
|
release_name: Release ${{ github.ref }}
|
||||||
|
body: |
|
||||||
|
Changes in this Release
|
||||||
|
- Atlassian JSON updated
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
Loading…
Reference in New Issue
Block a user