2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Update mirror.yml

fix copy command
This commit is contained in:
sidey79 2021-11-07 00:49:15 +01:00 committed by GitHub
parent f1338f0cdd
commit 47a15d95db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,13 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install git-svn --no-install-recommends sudo apt-get install git-svn --no-install-recommends
- name: checkout mirror config branch - name: checkout authors
uses: actions/checkout@v2.4.0
with:
ref: travis
path: ./authors
- name: checkout main branch
uses: actions/checkout@v2.4.0 uses: actions/checkout@v2.4.0
- name: Get current date as seconds - name: Get current date as seconds
@ -32,13 +38,7 @@ jobs:
echo "::set-output name=seconds::$(/bin/date -u "+%s")" echo "::set-output name=seconds::$(/bin/date -u "+%s")"
echo "::set-output name=timestamp::$(/bin/date -u'+%Y%m%d_%H')" echo "::set-output name=timestamp::$(/bin/date -u'+%Y%m%d_%H')"
shell: bash shell: bash
- uses: actions/checkout@v2.4.0
with:
ref: travis
path: ./authors
- name: generate merged authors file - name: generate merged authors file
run: | run: |
cd /tmp cd /tmp
@ -56,7 +56,6 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-fhemsvnmirror- ${{ runner.os }}-fhemsvnmirror-
- name: init mirror repository if it is not already a mirror - name: init mirror repository if it is not already a mirror
timeout-minutes: 1800 timeout-minutes: 1800
run: | run: |
@ -110,7 +109,7 @@ jobs:
# git config --add remote.origin.push 'refs/remotes/svn/trunk:refs/heads/master'; # git config --add remote.origin.push 'refs/remotes/svn/trunk:refs/heads/master';
- name: Recopy Workflow Files - name: Recopy Workflow Files
run: | run: |
cp -R .github ./src/fhem-mirror/ cp -R ${GITHUB_WORKSPACE}/.github ./src/fhem-mirror
exit 1 exit 1
- name: Push force changes to master branch in same repo - name: Push force changes to master branch in same repo