Update sprite files #709
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update sprite files" | |
on: | |
schedule: | |
- cron: 0 0 * * * | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
sprite: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: technote-space/create-pr-action@v2 | |
with: | |
EXECUTE_COMMANDS: | | |
git clone --depth 1 https://github.com/IsraelHikingMap/VectorMap.git | |
cp -up VectorMap/Icons/publish/sprite* IsraelHiking.Web/src/content/sprite | |
rm -fr VectorMap | |
COMMIT_MESSAGE: 'chore: update sprite files' | |
COMMIT_NAME: 'GitHub Actions' | |
COMMIT_EMAIL: '[email protected]' | |
PR_BRANCH_NAME: 'chore-sprite-update-${PR_ID}' | |
PR_TITLE: 'chore: update sprite files' |