Skip to content

Commit db231ed

Browse files
fix
1 parent 6466d39 commit db231ed

File tree

98 files changed

+49
-13246
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+49
-13246
lines changed

.github/workflows/github-actions-deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,25 @@ jobs:
1111
run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event. "
1212
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
1313
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
14-
- name: Checkout
14+
- run: mkdir ct_folder
15+
- run: cd ct_folder
16+
- name: Checkout ct
1517
uses: actions/checkout@v1
1618
with:
1719
repository: creativetimofficial/paper-dashboard-laravel
1820
token: ${{ secrets.CT_TOKEN }}
21+
- run: cd ..
22+
- run: mkdir preset_folder
23+
- run: cd preset_folder
24+
- name: Checkout preset
25+
uses: actions/checkout@v1
26+
with:
27+
repository: laravel-frontend-presets/paper-dashboard
28+
token: ${{ secrets.CT_TOKEN }}
29+
- run: cd ..
30+
- run: rsync -av --progress ct_folder /preset_folder --exclude .git
31+
32+
1933
- name: Configure git
2034
run: |
2135
git config --global user.name "CI Bot"

.github/workflows/github-actions-deploy.yml2

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,40 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Stats
11-
run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
11+
run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event. "
1212
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
1313
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
14-
- name: Check out repository code
15-
uses: actions/checkout@v3
16-
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
17-
- name: List files in the repository
14+
- run: mkdir ct_folder
15+
- run: cd ct_folder
16+
- name: Checkout ct
17+
uses: actions/checkout@v1
18+
with:
19+
repository: creativetimofficial/paper-dashboard-laravel
20+
token: ${{ secrets.CT_TOKEN }}
21+
- run: cd ..
22+
- run: mkdir preset_folder
23+
- run: cd preset_folder
24+
- name: Checkout preset
25+
uses: actions/checkout@v1
26+
with:
27+
repository: laravel-frontend-presets/paper-dashboard
28+
token: ${{ secrets.CT_TOKEN }}
29+
- run: cd ..
30+
31+
32+
33+
- name: Configure git
1834
run: |
19-
ls ${{ github.workspace }}
20-
- name: Create a Push
21-
id: create_release
22-
uses: actions/create-release@v1
23-
env:
24-
GITHUB_TOKEN: ${{ secrets.TOKEN_CT }}
25-
- name: Update code on fork repository
26-
run: git remote add upstream https://github.com/teamupdivision/creativetimofficial/paper-dashboard-laravel.git
27-
- run: git fetch upstream
28-
- run: git checkout upstream/master
29-
- run: git merge origin/master
30-
- run: git push upstream/master
31-
- run: echo "The fork was updated!"
35+
git config --global user.name "CI Bot"
36+
git config --global user.email "[email protected]"
37+
git remote add upstream https://${{ secrets.CT_TOKEN }}@github.com/laravel-frontend-presets/paper-dashboard
38+
shell: bash
39+
- name: Fetch and merge
40+
id: fetch-merge
41+
run: |
42+
git fetch upstream
43+
git checkout upstream/master
44+
git merge origin/master
45+
git push upstream HEAD:master --force
46+
shell: bash
47+
- run: echo "The fork was updated"

ct_folder/.github/workflows/github-actions-deploy.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

ct_folder/.github/workflows/github-actions-deploy.yml2

Lines changed: 0 additions & 31 deletions
This file was deleted.

ct_folder/.vscode/settings.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

ct_folder/ISSUE_TEMPLATE.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

ct_folder/changelog.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

ct_folder/composer.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

ct_folder/docs/documentation.html

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)