Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto deploy error #143

Open
liucanhui-eng opened this issue May 7, 2024 · 0 comments
Open

auto deploy error #143

liucanhui-eng opened this issue May 7, 2024 · 0 comments

Comments

@liucanhui-eng
Copy link

i want to auto deploy .bug not work .error info :
`
Run # Install dfx.
--2024-05-07 14:51:45-- https://raw.githubusercontent.com/dfinity/sdk/dfxvm-install-script/install.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7509 (7.3K) [text/plain]
Saving to: ‘install-dfx.sh’

 0K .......                                               100% 26.8M=0s

2024-05-07 14:51:45 (26.8 MB/s) - ‘install-dfx.sh’ saved [7509/7509]

Executing dfxvm install script, commit: f887039ff0618f2d7e1416773561d5b68ec21352
Downloading latest release...
#=#=#
##O#-#

######################################################################## 100.0%
#=#=#

######################################################################## 100.0%
Checking integrity of tarball...
dfxvm-x86_64-unknown-linux-gnu.tar.gz: OK
error: failed to interact with console
error: caused by: IO error: not a terminal
error: caused by: not a terminal

Welcome to dfxvm!

This will install dfxvm, and download and install dfx.

The dfxvm and dfx commands will be added to the following directory:

/home/runner/.local/share/dfx/bin

This path will then be added to your PATH environment variable by
modifying the profile files located at:

/home/runner/.profile
/home/runner/.bash_profile
/home/runner/.bashrc

Current installation options:

        dfx version: 0.14.3

modify PATH variable: yes

Error: Process completed with exit code 1.
my deploy-staging.yml
name: Deploy to Staging

on:
push:
branches:
- test_deploy
paths-ignore:
- 'LICENSE'
- 'README.md'
- 'canister_ids.json'
- 'cmd-change-domain'
- 'dns-setup'
- '.github/workflows/deploy-production.yml'
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
  - uses: actions/checkout@v3
    with:
      fetch-depth: 0
  - name: Prepare
    run: |
      # Install dfx.
      wget --output-document install-dfx.sh "https://raw.githubusercontent.com/dfinity/sdk/dfxvm-install-script/install.sh"
      DFX_VERSION=${DFX_VERSION:=0.14.3} DFXVM_INIT_YES=true bash install-dfx.sh
      rm install-dfx.sh
      echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH
      source "$HOME/.local/share/dfx/env"
      dfx cache install
      
      # Prepare identity.
      echo "${{secrets.IC_PRI_KEY}}" > identity.pem
      chmod 400 identity.pem
      mkdir -p ~/.config/dfx/identity/default
      mv identity.pem ~/.config/dfx/identity/default/identity.pem
      dfx identity list

.......
`
What should I do?
git error log:
https://github.com/VFans-org/VFANS-IC/actions/runs/8987546086/job/24686294315#step:3:68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant