Skip to content

Commit

Permalink
Create org.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amd64fox authored Sep 28, 2023
1 parent 5074dc8 commit ecdaec0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Update github.io

on:
workflow_dispatch:
push:
paths:
- 'Install.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 Install.ps1 file
run: cp Install.ps1 spotx-official.github.io/Install.ps1

- name: Push changes
run: |
cd spotx-official.github.io
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add Install.ps1
git commit -m "Update Install.ps1"
git push

0 comments on commit ecdaec0

Please sign in to comment.