Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Margen67 committed Jun 7, 2023
1 parent a68cec9 commit ae4f5f2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
# pull_request:
# types: opened
push:
branches: wiki
# paths-ignore:
# - '.github/*'
# - '.github/*_TEMPLATE/**'
# - '*.yml'
# workflow_dispatch:
# branches: wiki
paths-ignore:
- '.github/*'
- '.github/*_TEMPLATE/**'
- '*.yml'
workflow_dispatch:
# issues:
# types: [opened, reopened, edited]
# issue_comment:
Expand All @@ -39,18 +39,18 @@ jobs:
# pull_request_title: ${{ github.event.pull_request.title }}
# issue_title: ${{ github.event.issue.title }}
# POWERSHELL_TELEMETRY_OPTOUT: 1
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.repository }}.wiki
- name: Update wiki
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote add remote https://github.com/${{ github.repository }}.git
git fetch remote wiki
git reset --hard remote/wiki
git push -f
# steps:
# - uses: actions/checkout@v3
# with:
# repository: ${{ github.repository }}.wiki
# - name: Update wiki
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# git remote add remote https://github.com/${{ github.repository }}.git
# git fetch remote wiki
# git reset --hard remote/wiki
# git push -f
# - name: test
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ae4f5f2

Please sign in to comment.