-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1220 from tubone24/fix_ad
del
- Loading branch information
Showing
2 changed files
with
7 additions
and
5 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 |
---|---|---|
|
@@ -312,7 +312,9 @@ jobs: | |
with: | ||
deno-version: 'v1.x' | ||
- name: install noto font | ||
run: sudo apt install fonts-noto | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install fonts-noto | ||
- name: Capture Webpage Screenshot | ||
uses: swinton/[email protected] | ||
with: | ||
|
@@ -330,5 +332,5 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: "tubone24/blog" | ||
GITHUB_PULL_REQUEST_NUMBER: ${{ steps.get-pr-num.outputs.prnum }} | ||
BRANCH_NAME: "master" | ||
BRANCH_NAME: "screenshot" | ||
run: deno run --allow-env --allow-read --allow-net scripts/uploadScreenShot.ts |
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 |
---|---|---|
|
@@ -502,7 +502,9 @@ jobs: | |
with: | ||
deno-version: 'v1.x' | ||
- name: install noto font | ||
run: sudo apt install fonts-noto | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install fonts-noto | ||
- name: Capture Webpage Screenshot | ||
if: ${{ !contains(needs.check-skip-flags.outputs.head-commit-message, '[skip netlify]') }} | ||
uses: swinton/[email protected] | ||
|
@@ -514,8 +516,6 @@ jobs: | |
- uses: actions/download-artifact@v3 | ||
with: | ||
name: screenshot-${{ matrix.os }}-${{ matrix.width }} | ||
- name: ls | ||
run: ls -la | ||
- name: Get PR Number | ||
id: get-pr-num | ||
run: echo "prnum=$(echo $GITHUB_REF | sed -e 's/[^0-9]//g')" >> $GITHUB_OUTPUT | ||
|