mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-19 13:50:04 +10:00
Delete .github/workflows directory
This commit is contained in:
@@ -1,36 +0,0 @@
|
|||||||
name: Update github.io
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- 'run.ps1'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
copy_file:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout SpotX repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: SpotX-Official/SpotX
|
|
||||||
|
|
||||||
- name: Checkout spotx-official.github.io repo
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
repository: SpotX-Official/spotx-official.github.io
|
|
||||||
path: spotx-official.github.io
|
|
||||||
token: ${{ secrets.ORGPAT }}
|
|
||||||
|
|
||||||
- name: Copy run.ps1 file
|
|
||||||
run: cp run.ps1 spotx-official.github.io/run.ps1
|
|
||||||
|
|
||||||
- name: Push changes
|
|
||||||
run: |
|
|
||||||
cd spotx-official.github.io
|
|
||||||
git config user.name "GitHub Actions"
|
|
||||||
git config user.email "actions@github.com"
|
|
||||||
git add run.ps1
|
|
||||||
git commit -m "Update run.ps1"
|
|
||||||
git push
|
|
||||||
Reference in New Issue
Block a user