Skip to content

Commit

Permalink
chore(platform): update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed Dec 18, 2023
1 parent 41d61e5 commit 6113733
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deno-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
required: true
default: 'latest'
push:
branches:
- dev
# branches:
# - dev
tags: "*"

jobs:
Expand Down Expand Up @@ -47,8 +47,8 @@ jobs:
docker buildx create --use
docker buildx build --platform linux/amd64 . \
--output type=docker \
--tag ghcr.io/anitrend/anitrend-on-the-edge:${{ steps.set-tag.outputs.tag }} \
--cache-from type=registry,ref=ghcr.io/anitrend/anitrend-on-the-edge:cache,mode=max \
--cache-to type=registry,ref=ghcr.io/anitrend/anitrend-on-the-edge:cache
docker push ghcr.io/anitrend/anitrend-on-the-edge:${{ steps.set-tag.outputs.tag }}
--tag ghcr.io/anitrend/on-the-edge:${{ steps.set-tag.outputs.tag }} \
--cache-from type=registry,ref=ghcr.io/anitrend/on-the-edge:cache,mode=max \
--cache-to type=registry,ref=ghcr.io/anitrend/on-the-edge:cache
docker push ghcr.io/anitrend/on-the-edge:${{ steps.set-tag.outputs.tag }}
working-directory: .
8 changes: 2 additions & 6 deletions .github/workflows/deno-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: 1.20.2
- name: Update dependencies
run: |
deno run -A https://deno.land/x/udd/main.ts supabase/functions/import_map.json
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
id: pr
with:
commit-message: "Update dependencies"
title: Update dependencies
commit-message: "chore(deps): update deno.lock"
title: "chore(deps): update deno.lock"
body: >
Dependencies updated by [udd](https://github.com/hayd/deno-udd).
branch: dependencies/deno-dependency-updates
Expand All @@ -40,8 +38,6 @@ jobs:
sha: ${{ steps.commit.outputs.sha }}
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Config properties file
run: |
cp .env.defaults .env
Expand Down
2 changes: 1 addition & 1 deletion anitrend.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"node_modules/": true,
"src/": true,
".vscode": true,
".github": true,
".github/workflows": true,
}
}
}

0 comments on commit 6113733

Please sign in to comment.