You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug Description
Storing user name and password in secrets very well but not for server name.
My Action Config
name: 🚀 Deploy website on pushon:
push:
branches:
- main # Replace with your deployment branch if differentjobs:
build_and_deploy:
name: 🎉 Deployruns-on: ubuntu-lateststeps:
# Checkout the repository
- name: 🚚 Get latest codeuses: actions/checkout@v4# Set up Node.js environment
- name: Setup Node.jsuses: actions/setup-node@v3with:
node-version: 18# Use the Node.js version compatible with your project# Install dependencies and build the React app
- name: 🔨 Build Projectrun: | npm install npm run build# Deploy built files to SmarterASP.NET using FTP
- name: 📂 Sync filesuses: SamKirkland/FTP-Deploy-Action@v4.3.5with:
server: something.site4now.net # Replace with your FTP serverusername: "${{ secrets.FTP_USERNAME }}"# Replace with your FTP usernamepassword: "${{ secrets.FTP_PASSWORD }}"# Replace with your FTP passwordlocal-dir: dist/ # React production build folderserver-dir: / # Target directory on the server (adjust as needed)
My Action Log
The text was updated successfully, but these errors were encountered:
Bug Description
Storing user name and password in secrets very well but not for server name.
My Action Config
My Action Log
The text was updated successfully, but these errors were encountered: