This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
Merge pull request #14 from StellarWitch7/dev #16
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 Website | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.md' | |
jobs: | |
updatereadme: | |
name: Update webpage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: mv README.md moth.md | |
- run: git pull | |
- uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_file: './moth.md' | |
destination_repo: 'StellarWitch7/stellarwitch7.github.io' | |
destination_folder: './docs/markdown/' | |
user_email: '131844170+StellarWitch7@users.noreply.github.com' | |
user_name: 'StellarWitch7' | |
commit_message: 'Updated moth.md from https://github.com/StellarWitch7/Moth' |