Skip to content

Commit

Permalink
ci: test set revision
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jan 21, 2024
1 parent 0c0784a commit 50e473e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@ on:
branches: [ master, develop ]

jobs:
validate:
uses: ./.github/workflows/_validate-npm.yml
publish:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ validate ]
secrets: inherit
with:
DOCKERHUB_REPO: "aeternitybot/${{ github.event.repository.name }}"
BUILD_ARGS: REVISION=${{ github.sha }}
BUILD_ARGS: REVISION=testString
deploy:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [publish]
Expand Down
1 change: 1 addition & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const PreloadPlugin = require('@vue/preload-webpack-plugin');
const childProcess = require('child_process');
const { version: sdkVersion } = require('./node_modules/@aeternity/aepp-sdk/package.json');

console.log('process.env', process.env);
process.env.VUE_APP_VERSION = process.env.npm_package_version;
process.env.VUE_APP_REVISION ??= childProcess
.execSync('git rev-parse HEAD || echo local').toString().trim();
Expand Down

0 comments on commit 50e473e

Please sign in to comment.