Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
25b119b
Update action.yml
alphaleadership Oct 14, 2024
ba1912b
Update action.yml
alphaleadership Oct 14, 2024
80affbd
Update action.yml
alphaleadership Oct 14, 2024
dba506c
Update action.yml
alphaleadership Oct 14, 2024
23d214e
Update action.yml
alphaleadership Oct 14, 2024
9cef859
Update action.yml
alphaleadership Oct 14, 2024
0b2ded9
Update action.yml
alphaleadership Oct 14, 2024
32f4a43
Update action.yml
alphaleadership Oct 14, 2024
90ef3b5
Update action.yml
alphaleadership Oct 14, 2024
49458ef
Update action.yml
alphaleadership Oct 14, 2024
905b186
Update action.yml
alphaleadership Oct 14, 2024
e9c7927
Update action.yml
alphaleadership Oct 14, 2024
5dd2eaf
Update action.yml
alphaleadership Oct 14, 2024
515d037
Update action.yml
alphaleadership Oct 14, 2024
846af64
Update action.yml
alphaleadership Oct 14, 2024
552f919
Update action.yml
alphaleadership Oct 14, 2024
e967b4b
Merge pull request #1 from alphaleadership/alphaleadership-patch-1
alphaleadership Oct 14, 2024
9c83bbd
Update action.yml
alphaleadership Oct 14, 2024
79a0e9e
Merge pull request #2 from alphaleadership/alphaleadership-patch-2
alphaleadership Oct 14, 2024
35847b8
Update action.yml
alphaleadership Oct 14, 2024
a6616b3
Update action.yml
alphaleadership Oct 14, 2024
7432512
Update action.yml
alphaleadership Nov 5, 2024
13579c6
Update action.yml
alphaleadership Nov 5, 2024
882fca8
Update action.yml
alphaleadership Nov 5, 2024
3e14f11
Create main.yml
alphaleadership Nov 5, 2024
ba8c4c6
Create mai.yml
alphaleadership Nov 5, 2024
bb46aa9
Update main.yml
alphaleadership Nov 5, 2024
3954f5a
Update main.yml
alphaleadership Nov 5, 2024
11ac52a
Update mai.yml
alphaleadership Nov 5, 2024
cbf24d3
Update mai.yml
alphaleadership Nov 5, 2024
d14bdc4
Update mai.yml
alphaleadership Nov 5, 2024
10016c4
Update mai.yml
alphaleadership Nov 5, 2024
7030f42
Update mai.yml
alphaleadership Nov 5, 2024
b00bfe2
Update mai.yml
alphaleadership Nov 5, 2024
a9d8a2b
Update mai.yml
alphaleadership Nov 5, 2024
902da5b
Update mai.yml
alphaleadership Nov 5, 2024
e9ea3b5
Update mai.yml
alphaleadership Nov 5, 2024
d1b25a3
Update mai.yml
alphaleadership Nov 5, 2024
1378d5c
Delete .github/workflows/main.yml
alphaleadership Nov 5, 2024
3fddbcf
Update action.yml
alphaleadership Nov 7, 2024
a355a7f
Update action.yml
alphaleadership Nov 22, 2024
2a9f1e6
Update action.yml
alphaleadership Nov 22, 2024
7286dd3
Update action.yml
alphaleadership Jan 4, 2025
9280867
Update action.yml
alphaleadership Jan 8, 2025
a5b8623
Update action.yml
alphaleadership Jan 8, 2025
6d0488e
Update action.yml
alphaleadership Jan 8, 2025
9b4836d
Update action.yml
alphaleadership Jan 8, 2025
6583f2c
Update action.yml
alphaleadership Jan 8, 2025
295bdcd
Update action.yml
alphaleadership Jan 8, 2025
a6a5d60
Update action.yml
alphaleadership Jan 8, 2025
5fba7b2
Update action.yml
alphaleadership Jan 8, 2025
31e33ca
Update action.yml
alphaleadership Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/mai.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Releases

on:
push:
branches: ["main"]


jobs:

build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: alphaleadership/release-action@1.0.0
with:
tag: "la"
generateReleaseNotes: true
skipIfReleaseExists: false
makeLatest: true
artifacts: "release.tar.gz,foo/*.txt"
bodyFile: "README.md"
75 changes: 69 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Vue to Github Pages'
name: 'Vue to Github Pages reloaded'
branding:
icon: 'activity'
color: 'blue'
Expand Down Expand Up @@ -38,15 +38,78 @@ runs:
steps:
- name: Build Vue
run: |
if [ true == ${{ inputs.useyarn }} ]; then yarn install --frozen-lockfile; else npm ci; fi
git config --global user.email "${{ inputs.gitemail }}"
git config --global user.name "${{ inputs.gitname }}"

cd dist

git init

git remote add origin https://${{ inputs.username }}:${{ inputs.token }}@github.com/${{ inputs.username }}/${{ inputs.reponame }}.git -m pages
git fetch
echo fetch
git branch -m pages
echo branch
echo temp >log.txt
git add *

git commit -m temp

git branch --set-upstream-to=origin
echo branch 2
git remote -v
echo test
git fetch
echo fetch
git pull -u
echo pull

cd ..
cd cdn

git init

git remote add origin https://${{ inputs.username }}:${{ inputs.token }}@github.com/${{ inputs.username }}/cdn.git -m main
git fetch
echo fetch
git branch -m main
echo branch
echo temp >log.txt
git add *
git commit -m temp

git branch --set-upstream-to=origin
echo branch 2
git remote -v
echo test
git fetch
echo fetch
git pull -u
echo pull

cd ..
if [ true == ${{ inputs.useyarn }} ]; then yarn install --frozen-lockfile; else npm i; fi
if [ true == ${{ inputs.useyarn }} ]; then yarn build; else npm run build; fi

git pull -u
git push -u
cd dist
ln -s index.html 404.html
if [ "none" != ${{ inputs.cname }} ]; then echo '${{ inputs.cname }}' > CNAME; fi
git config --global user.email "${{ inputs.gitemail }}"
git config --global user.name "${{ inputs.gitname }}"
git init

git add -A
git commit -m '${{ inputs.gitmsg }}'
if ! git diff --quiet remotes/origin/HEAD; then git push ; fi
cd ..
cd cdn

if [ "none" != ${{ inputs.cname }} ]; then echo '${{ inputs.cname }}' > CNAME; fi

git add -A
git commit -m '${{ inputs.gitmsg }}'
git push -f https://${{ inputs.username }}:${{ inputs.token }}@github.com/${{ inputs.username }}/${{ inputs.reponame }}.git master:gh-pages
if ! git diff --quiet remotes/origin/HEAD; then git push ; fi
cd ..
git add -A
git commit -m "update"
git push -u
shell: bash