> Invoke-WebRequest -Uri https://github.com/deploy-f/df-cli/releases/download/v0.5/deployf.exe -OutFile df.exe
$ curl -LO https://github.com/deploy-f/df-cli/releases/download/v0.5/deployf
dotnet tool install --global Deployf.Cli
Go to https://v2.d-f.pw/id/Manage/ListPersonalTokens and create a prsonal token.
When you have the token, you can save it locally via deployf init $TOKEN
command.
Or use the TOKEN
environment to pass the token. Instead environment variable
you can use --token $TOKEN
key.
# building for windows
$ dotnet publish -c Release -r win-x64 -o publish \
-p:PublishSingleFile=true --self-contained \
-p:SelfContained=true -p:PublishTrimmed=true
# building for linux
$ dotnet publish -c Release -r linux-x64 -o publish \
-p:PublishSingleFile=true --self-contained \
-p:SelfContained=true -p:PublishTrimmed=true