generated from ayushsoni1010/next-chakra-ui-template
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cffbbc
commit 954f6f3
Showing
3 changed files
with
24 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,29 +26,6 @@ jobs: | |
name: Resume PDF | ||
path: public/resume/resume.pdf | ||
|
||
# - name: Get Time | ||
# id: time | ||
# uses: nanzm/[email protected] | ||
# with: | ||
# timeZone: -7 | ||
# format: "YYYY-MM-DD" | ||
# - name: Create Release | ||
# id: create_release | ||
# uses: softprops/action-gh-release@v1 | ||
# with: | ||
# name: Resume compiled on ${{ steps.time.outputs.time }} | ||
# tag_name: ${{ steps.time.outputs.time }} | ||
# - name: Upload Release Asset | ||
# id: upload-release-asset | ||
# uses: actions/upload-release-asset@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: ./resume.pdf | ||
# asset_name: "resume.pdf" | ||
# asset_content_type: application/pdf | ||
|
||
- name: Install ghostscript | ||
run: sudo apt-get update --fix-missing && sudo apt install ghostscript | ||
- name: Change ImageMagick security policy | ||
|
@@ -76,16 +53,36 @@ jobs: | |
run: | | ||
cp resume.pdf public/resume/ | ||
cp resume.png public/resume/ | ||
rm -rf resume.pdf | ||
rm -rf resume.png | ||
- name: Get Time | ||
id: time | ||
uses: nanzm/[email protected] | ||
with: | ||
timeZone: -7 | ||
format: "YYYY-MM-DD" | ||
- name: Create Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
name: Resume compiled on ${{ steps.time.outputs.time }} | ||
tag_name: ${{ steps.time.outputs.time }} | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./resume.pdf | ||
asset_name: resume.pdf | ||
asset_content_type: application/pdf | ||
|
||
- name: Commit PNG | ||
id: commit | ||
run: | | ||
git config --local user.email "action[bot]@github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git add | ||
git add | ||
git add public/resume | ||
git commit -m "[bot] updated png and pdf" | ||
- name: Push changes | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
954f6f3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
portfolio – ./
ayushsoni1010.vercel.app
portfolio-git-main-ayushsoni1010.vercel.app
ayushsoni1010.com
www.ayushsoni1010.com
portfolio-ayushsoni1010.vercel.app